﻿///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Dec 17 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifdef WX_PRECOMP

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "Algo_GUI.h"

///////////////////////////////////////////////////////////////////////////

FeedFrame::FeedFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxSize( 600,400 ), wxDefaultSize );
	
	bSizer7 = new wxBoxSizer( wxVERTICAL );
	
	bSizer7->SetMinSize( wxSize( 600,400 ) ); 
	m_FeedPanel = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxSize( 600,80 ), wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL );
	m_FeedPanel->SetMinSize( wxSize( 600,80 ) );
	m_FeedPanel->SetMaxSize( wxSize( 1000,80 ) );
	
	bSizer5 = new wxBoxSizer( wxVERTICAL );
	
	bSizer5->SetMinSize( wxSize( 600,80 ) ); 
	wxBoxSizer* bSizer6;
	bSizer6 = new wxBoxSizer( wxHORIZONTAL );
	
	bSizer6->SetMinSize( wxSize( 600,80 ) ); 
	m_StatsGrid = new wxGrid( m_FeedPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	
	// Grid
	m_StatsGrid->CreateGrid( 2, 3 );
	m_StatsGrid->EnableEditing( true );
	m_StatsGrid->EnableGridLines( true );
	m_StatsGrid->EnableDragGridSize( false );
	m_StatsGrid->SetMargins( 0, 0 );
	
	// Columns
	m_StatsGrid->EnableDragColMove( false );
	m_StatsGrid->EnableDragColSize( true );
	m_StatsGrid->SetColLabelSize( 30 );
	m_StatsGrid->SetColLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Rows
	m_StatsGrid->EnableDragRowSize( true );
	m_StatsGrid->SetRowLabelSize( 80 );
	m_StatsGrid->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE );
	
	// Label Appearance
	
	// Cell Defaults
	m_StatsGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
	bSizer6->Add( m_StatsGrid, 0, wxRIGHT, 5 );
	
	wxBoxSizer* bSizer51;
	bSizer51 = new wxBoxSizer( wxHORIZONTAL );
	
	bSizer51->SetMinSize( wxSize( 250,80 ) ); 
	wxBoxSizer* bSizer8;
	bSizer8 = new wxBoxSizer( wxVERTICAL );
	
	m_LastClass = new wxStaticText( m_FeedPanel, wxID_ANY, wxT("Last Classification: "), wxDefaultPosition, wxDefaultSize, 0 );
	m_LastClass->Wrap( -1 );
	bSizer8->Add( m_LastClass, 0, wxALL, 5 );
	
	m_AEnimaTrigger = new wxStaticText( m_FeedPanel, wxID_ANY, wxT("AEnima trigger:"), wxDefaultPosition, wxDefaultSize, 0 );
	m_AEnimaTrigger->Wrap( -1 );
	bSizer8->Add( m_AEnimaTrigger, 0, wxALL, 5 );
	
	bSizer51->Add( bSizer8, 0, wxALIGN_CENTER|wxRIGHT, 30 );
	
	wxBoxSizer* bSizer9;
	bSizer9 = new wxBoxSizer( wxVERTICAL );
	
	m_HimTrigger = new wxStaticText( m_FeedPanel, wxID_ANY, wxT("Manual trigger: "), wxDefaultPosition, wxDefaultSize, 0 );
	m_HimTrigger->Wrap( -1 );
	bSizer9->Add( m_HimTrigger, 0, wxALL, 5 );
	
	m_HWTrigger = new wxStaticText( m_FeedPanel, wxID_ANY, wxT("HW trigger:"), wxDefaultPosition, wxDefaultSize, 0 );
	m_HWTrigger->Wrap( -1 );
	bSizer9->Add( m_HWTrigger, 0, wxALL, 5 );
	
	bSizer51->Add( bSizer9, 0, wxALIGN_CENTER|wxRIGHT, 30 );
	
	bSizer6->Add( bSizer51, 1, wxEXPAND|wxFIXED_MINSIZE, 5 );
	
	bSizer5->Add( bSizer6, 0, wxEXPAND|wxFIXED_MINSIZE, 5 );
	
	m_FeedPanel->SetSizer( bSizer5 );
	m_FeedPanel->Layout();
	bSizer7->Add( m_FeedPanel, 0, wxEXPAND|wxFIXED_MINSIZE, 0 );
	
	m_HelpPanel = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxSize( 600,300 ), wxTAB_TRAVERSAL );
	PlotSizer = new wxBoxSizer( wxVERTICAL );
	
	PlotSizer->SetMinSize( wxSize( 600,300 ) ); 
	m_HelpPanel->SetSizer( PlotSizer );
	m_HelpPanel->Layout();
	bSizer7->Add( m_HelpPanel, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer7 );
	this->Layout();
	bSizer7->Fit( this );
}

FeedFrame::~FeedFrame()
{
}

FeedDialog::FeedDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer21;
	bSizer21 = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizer22;
	bSizer22 = new wxBoxSizer( wxHORIZONTAL );
	
	bSizer22->SetMinSize( wxSize( -1,200 ) ); 
	wxStaticBoxSizer* sbSizer16;
	sbSizer16 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Class 1") ), wxVERTICAL );
	
	sbSizer16->SetMinSize( wxSize( -1,160 ) ); 
	m_Feed1 = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_SMOOTH|wxGA_VERTICAL );
	sbSizer16->Add( m_Feed1, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	m_staticText19 = new wxStaticText( this, wxID_ANY, wxT("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText19->Wrap( -1 );
	sbSizer16->Add( m_staticText19, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
	
	bSizer22->Add( sbSizer16, 0, wxALIGN_CENTER|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
	
	wxStaticBoxSizer* sbSizer18;
	sbSizer18 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Class 2") ), wxVERTICAL );
	
	m_Feed2 = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_SMOOTH|wxGA_VERTICAL );
	sbSizer18->Add( m_Feed2, 0, wxALIGN_CENTER|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	m_staticText20 = new wxStaticText( this, wxID_ANY, wxT("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText20->Wrap( -1 );
	sbSizer18->Add( m_staticText20, 0, wxALIGN_CENTER|wxALL, 5 );
	
	bSizer22->Add( sbSizer18, 1, wxEXPAND, 5 );
	
	wxStaticBoxSizer* sbSizer19;
	sbSizer19 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Class 3") ), wxVERTICAL );
	
	m_Feed3 = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_SMOOTH|wxGA_VERTICAL );
	sbSizer19->Add( m_Feed3, 0, wxALIGN_CENTER|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	m_staticText21 = new wxStaticText( this, wxID_ANY, wxT("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText21->Wrap( -1 );
	sbSizer19->Add( m_staticText21, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
	
	bSizer22->Add( sbSizer19, 1, wxEXPAND, 5 );
	
	wxStaticBoxSizer* sbSizer20;
	sbSizer20 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Class 4") ), wxVERTICAL );
	
	m_Feed4 = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_SMOOTH|wxGA_VERTICAL );
	sbSizer20->Add( m_Feed4, 0, wxALIGN_CENTER|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	m_staticText22 = new wxStaticText( this, wxID_ANY, wxT("MyLabel"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticText22->Wrap( -1 );
	sbSizer20->Add( m_staticText22, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
	
	bSizer22->Add( sbSizer20, 1, wxEXPAND, 5 );
	
	bSizer21->Add( bSizer22, 1, wxEXPAND, 5 );
	
	wxStaticBoxSizer* Triggers;
	Triggers = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Triggers") ), wxVERTICAL );
	
	wxGridSizer* gSizer5;
	gSizer5 = new wxGridSizer( 2, 1, 0, 0 );
	
	m_LastClass = new wxStaticText( this, wxID_ANY, wxT("Last Classification:"), wxDefaultPosition, wxDefaultSize, 0 );
	m_LastClass->Wrap( -1 );
	gSizer5->Add( m_LastClass, 0, wxALL, 5 );
	
	m_HimTrigger = new wxStaticText( this, wxID_ANY, wxT("Manual trigger: "), wxDefaultPosition, wxDefaultSize, 0 );
	m_HimTrigger->Wrap( -1 );
	gSizer5->Add( m_HimTrigger, 0, wxALL, 5 );
	
	m_AEnimaTrigger = new wxStaticText( this, wxID_ANY, wxT("AEnima trigger:"), wxDefaultPosition, wxDefaultSize, 0 );
	m_AEnimaTrigger->Wrap( -1 );
	gSizer5->Add( m_AEnimaTrigger, 0, wxALL, 5 );
	
	m_HWTrigger = new wxStaticText( this, wxID_ANY, wxT("HW trigger:"), wxDefaultPosition, wxDefaultSize, 0 );
	m_HWTrigger->Wrap( -1 );
	gSizer5->Add( m_HWTrigger, 0, wxALL, 5 );
	
	Triggers->Add( gSizer5, 1, wxEXPAND, 5 );
	
	bSizer21->Add( Triggers, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer21 );
	this->Layout();
	bSizer21->Fit( this );
}

FeedDialog::~FeedDialog()
{
}
